
// MFC_Stock_demoDlg.h : header file
//

#pragma once

#include <string>
#include <vector>	


// CMFC_Stock_demoDlg dialog
class CMFC_Stock_demoDlg : public CDialog
{
// Construction
public:
	CMFC_Stock_demoDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_MFC_STOCK_DEMO_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support

public:
	CString GetHtml(const CString& strUrl);

	void LoadShStocks(const std::string& file_path);

	void GetStockInfoThread(const CString& strData);

protected:
	std::vector<std::string> m_arr_shstocks;


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButton1();
};
